From: Eli Zaretskii Date: Sat, 12 Sep 2009 09:39:49 +0000 (+0000) Subject: Fix last change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10521 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8b7cf87b5bfd691342cf54d39517f04aebc67e2a;p=emacs.git Fix last change. (mouse-wheel-mode): New defvar. (mouse-wheel-mode): Remove autoload cookie. --- diff --git a/lisp/mwheel.el b/lisp/mwheel.el index d457679d4f2..31e26c14487 100644 --- a/lisp/mwheel.el +++ b/lisp/mwheel.el @@ -41,6 +41,8 @@ (require 'custom) (require 'timer) +(defvar mouse-wheel-mode nil) + ;; Setter function for mouse-button user-options. Switch Mouse Wheel ;; mode off and on again so that the old button is unbound and ;; new button is bound to mwheel-scroll. @@ -239,7 +241,6 @@ This should only be bound to mouse buttons 4 and 5." (defvar mwheel-installed-bindings nil) -;;;###autoload (define-minor-mode mouse-wheel-mode "Toggle mouse wheel support. With prefix argument ARG, turn on if positive, otherwise off.